#7237CA#7237CA

#7237CA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.212 H 296.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7237CA
RGBrgb(114, 55, 202)
HSLhsl(264, 58%, 50%)
HSVhsv(264, 73%, 79%)
CMYKcmyk(43.6%, 72.8%, 0%, 20.8%)
CIE-LABlab(38.85, 55.73, -66.53)
CIE-LCHlch(38.85, 86.79, 309.95°)
OKLaboklab(49.78% 0.093 -0.1904)
OKLCHoklch(49.78% 0.212 296)
XYZxyz(18.9635, 10.5736, 56.9074)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7237CA #8FCA37
analogous
#3745CA #7237CA #BC37CA
triadic
#7237CA #CA7237 #37CA72
tetradic
#7237CA #CA3745 #8FCA37 #37CABC
square
#7237CA #CA3745 #8FCA37 #37CABC
split-complementary
#7237CA #CABC37 #45CA37
monochromatic
#3C1C6A #57299B #7237CA #9467D7 #B698E4

Accessibility & contrast

On white

6.74
#7237CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7237CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7237CA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7237CA#FFFFFF#000000##FFFFFF
##7237CA1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#5A5D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7237ca;
/* rgb */ color: rgb(114, 55, 202);
/* oklch */ color: oklch(49.8% 0.212 296.0);
Tailwind
colors: {
  custom: {
    50: '#a273db',
    500: '#7237ca',
    950: '#000000',
  },
}
SCSS
$custom: #7237ca;
$custom-light: #a273db;
$custom-dark: #000000;
JSON
{
  "hex": "#7237ca",
  "rgb": {
    "r": 114,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 264.082,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49779,
    "c": 0.21194,
    "h": 296
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#7237CA
secondary
#B5CF8E
accent
#E146A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7237CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7237CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva