#CB83F2#CB83F2

#CB83F2 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.6% C 0.171 H 312.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CB83F2
RGBrgb(203, 131, 242)
HSLhsl(279, 81%, 73%)
HSVhsv(279, 46%, 95%)
CMYKcmyk(16.1%, 45.9%, 0%, 5.1%)
CIE-LABlab(66.01, 46.78, -45.06)
CIE-LCHlch(66.01, 64.96, 316.07°)
OKLaboklab(72.62% 0.1157 -0.1253)
OKLCHoklch(72.62% 0.171 312.7)
XYZxyz(48.7692, 35.3410, 88.2396)
Luminance0.3534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB83F2 #AAF283
analogous
#9383F2 #CB83F2 #F283E1
triadic
#CB83F2 #F2CB83 #83F2CB
tetradic
#CB83F2 #F29383 #AAF283 #83E1F2
square
#CB83F2 #F29383 #AAF283 #83E1F2
split-complementary
#CB83F2 #E1F283 #83F293
monochromatic
#9B18E3 #B44CEC #CB83F2 #E2BAF8 #F3E3FC

Accessibility & contrast

On white

2.60
#CB83F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#CB83F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB83F2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB83F2#FFFFFF#000000##000000
##CB83F21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#C794AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb83f2;
/* rgb */ color: rgb(203, 131, 242);
/* oklch */ color: oklch(72.6% 0.171 312.7);
Tailwind
colors: {
  custom: {
    50: '#dda9f7',
    500: '#cb83f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb83f2;
$custom-light: #dda9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb83f2",
  "rgb": {
    "r": 203,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 278.919,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72624,
    "c": 0.17051,
    "h": 312.7
  },
  "luminance": 0.3534
}

Semantic roles & 50–950 ramp

primary
#CB83F2
secondary
#E1F4D7
accent
#DD0853
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CB83F2

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

Preview Lab → · Contrast checker → · Palette generator →

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