#CB3DC8#CB3DC8

#CB3DC8 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.232 H 328.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CB3DC8
RGBrgb(203, 61, 200)
HSLhsl(301, 58%, 52%)
HSVhsv(301, 70%, 80%)
CMYKcmyk(0%, 70%, 1.5%, 20.4%)
CIE-LABlab(52.07, 70.76, -43.45)
CIE-LCHlch(52.07, 83.03, 328.45°)
OKLaboklab(61.73% 0.1987 -0.1201)
OKLCHoklch(61.73% 0.232 328.8)
XYZxyz(36.7223, 20.2068, 56.5985)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3DC8 #3DCB40
analogous
#873DCB #CB3DC8 #CB3D81
triadic
#CB3DC8 #C8CB3D #3DC8CB
tetradic
#CB3DC8 #CB873D #3DCB40 #3D81CB
square
#CB3DC8 #CB873D #3DCB40 #3D81CB
split-complementary
#CB3DC8 #81CB3D #3DCB87
monochromatic
#701E6E #A02B9D #CB3DC8 #D86DD6 #E59EE3

Accessibility & contrast

On white

4.17
#CB3DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CB3DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3DC8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3DC8#FFFFFF#000000##000000
##CB3DC81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2970CC
Deuteranopia (green-blind)
#6483C4
Tritanopia (blue-blind)
#D2517F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb3dc8;
/* rgb */ color: rgb(203, 61, 200);
/* oklch */ color: oklch(61.7% 0.232 328.8);
Tailwind
colors: {
  custom: {
    50: '#df7fd9',
    500: '#cb3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #cb3dc8;
$custom-light: #df7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3dc8",
  "rgb": {
    "r": 203,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 301.268,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.23215,
    "h": 328.8
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#CB3DC8
secondary
#93D194
accent
#E14A47
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CB3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

#CB3DC8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva