#7235B5#7235B5

#7235B5 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.191 H 301.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7235B5
RGBrgb(114, 53, 181)
HSLhsl(269, 55%, 46%)
HSVhsv(269, 71%, 71%)
CMYKcmyk(37%, 70.7%, 0%, 29%)
CIE-LABlab(36.85, 51.39, -57.47)
CIE-LCHlch(36.85, 77.10, 311.80°)
OKLaboklab(47.84% 0.0991 -0.1638)
OKLCHoklch(47.84% 0.191 301.2)
XYZxyz(16.5510, 9.4597, 44.6610)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235B5 #78B535
analogous
#3538B5 #7235B5 #B235B5
triadic
#7235B5 #B57235 #35B572
tetradic
#7235B5 #B53538 #78B535 #35B5B2
square
#7235B5 #B53538 #78B535 #35B5B2
split-complementary
#7235B5 #B5B235 #38B535
monochromatic
#361956 #542786 #7235B5 #9159CE #B088DC

Accessibility & contrast

On white

7.26
#7235B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7235B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7235B5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235B5#FFFFFF#000000##FFFFFF
##7235B51.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#635471
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7235b5;
/* rgb */ color: rgb(114, 53, 181);
/* oklch */ color: oklch(47.8% 0.191 301.2);
Tailwind
colors: {
  custom: {
    50: '#a071cc',
    500: '#7235b5',
    950: '#000000',
  },
}
SCSS
$custom: #7235b5;
$custom-light: #a071cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7235b5",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 268.594,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47844,
    "c": 0.19143,
    "h": 301.2
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#7235B5
secondary
#A5C680
accent
#DE4A97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7235B5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7235B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva