#9833D2#9833D2

#9833D2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.5% C 0.231 H 309.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9833D2
RGBrgb(152, 51, 210)
HSLhsl(278, 64%, 51%)
HSVhsv(278, 76%, 82%)
CMYKcmyk(27.6%, 75.7%, 0%, 17.6%)
CIE-LABlab(43.79, 65.85, -62.90)
CIE-LCHlch(43.79, 91.06, 316.31°)
OKLaboklab(54.51% 0.1473 -0.1784)
OKLCHoklch(54.51% 0.231 309.5)
XYZxyz(25.7632, 13.6967, 62.2468)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9833D2 #6DD233
analogous
#4833D2 #9833D2 #D233BC
triadic
#9833D2 #D29833 #33D298
tetradic
#9833D2 #D24833 #6DD233 #33BCD2
square
#9833D2 #D24833 #6DD233 #33BCD2
split-complementary
#9833D2 #BCD233 #33D248
monochromatic
#511972 #7524A4 #9833D2 #B165DD #CB97E8

Accessibility & contrast

On white

5.62
#9833D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9833D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9833D2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9833D2#FFFFFF#000000##FFFFFF
##9833D21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#8F5A81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9833d2;
/* rgb */ color: rgb(152, 51, 210);
/* oklch */ color: oklch(54.5% 0.231 309.5);
Tailwind
colors: {
  custom: {
    50: '#bc75e1',
    500: '#9833d2',
    950: '#000000',
  },
}
SCSS
$custom: #9833d2;
$custom-light: #bc75e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9833d2",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 278.113,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.23139,
    "h": 309.5
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#9833D2
secondary
#A7D48D
accent
#E7417D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9833D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9833D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva