#8237D3#8237D3

#8237D3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.223 H 300.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8237D3
RGBrgb(130, 55, 211)
HSLhsl(269, 64%, 52%)
HSVhsv(269, 74%, 83%)
CMYKcmyk(38.4%, 73.9%, 0%, 17.3%)
CIE-LABlab(41.50, 60.65, -67.33)
CIE-LCHlch(41.50, 90.62, 312.01°)
OKLaboklab(52.3% 0.1138 -0.1922)
OKLCHoklch(52.3% 0.223 300.6)
XYZxyz(22.3271, 12.1812, 62.7903)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8237D3 #88D337
analogous
#373AD3 #8237D3 #D037D3
triadic
#8237D3 #D38237 #37D382
tetradic
#8237D3 #D3373A #88D337 #37D3D0
square
#8237D3 #D3373A #88D337 #37D3D0
split-complementary
#8237D3 #D3D037 #3AD337
monochromatic
#461A76 #6425A8 #8237D3 #A169DE #C19BE9

Accessibility & contrast

On white

6.11
#8237D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8237D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8237D3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8237D3#FFFFFF#000000##FFFFFF
##8237D31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#705F83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8237d3;
/* rgb */ color: rgb(130, 55, 211);
/* oklch */ color: oklch(52.3% 0.223 300.6);
Tailwind
colors: {
  custom: {
    50: '#ad75e2',
    500: '#8237d3',
    950: '#000000',
  },
}
SCSS
$custom: #8237d3;
$custom-light: #ad75e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8237d3",
  "rgb": {
    "r": 130,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 268.846,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.22336,
    "h": 300.6
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#8237D3
secondary
#B4D591
accent
#E74197
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #8237D3

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

Preview Lab → · Contrast checker → · Palette generator →

#8237D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva