#CB91F2#CB91F2

#CB91F2 is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.9% C 0.147 H 310.7°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CB91F2
RGBrgb(203, 145, 242)
HSLhsl(276, 79%, 76%)
HSVhsv(276, 40%, 95%)
CMYKcmyk(16.1%, 40.1%, 0%, 5.1%)
CIE-LABlab(69.01, 39.29, -40.37)
CIE-LCHlch(69.01, 56.33, 314.22°)
OKLaboklab(74.87% 0.0962 -0.1118)
OKLCHoklch(74.87% 0.147 310.7)
XYZxyz(50.7782, 39.3589, 88.9092)
Luminance0.3936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91F2 #B8F291
analogous
#9A91F2 #CB91F2 #F291E9
triadic
#CB91F2 #F2CB91 #91F2CB
tetradic
#CB91F2 #F29A91 #B8F291 #91E9F2
square
#CB91F2 #F29A91 #B8F291 #91E9F2
split-complementary
#CB91F2 #E9F291 #91F29A
monochromatic
#9724E5 #B15AEC #CB91F2 #E5C8F8 #F2E4FC

Accessibility & contrast

On white

2.37
#CB91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CB91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91F2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91F2#FFFFFF#000000##000000
##CB91F21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#C79FB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb91f2;
/* rgb */ color: rgb(203, 145, 242);
/* oklch */ color: oklch(74.9% 0.147 310.7);
Tailwind
colors: {
  custom: {
    50: '#dcb2f6',
    500: '#cb91f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb91f2;
$custom-light: #dcb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91f2",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 275.876,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74871,
    "c": 0.14748,
    "h": 310.7
  },
  "luminance": 0.39358
}

Semantic roles & 50–950 ramp

primary
#CB91F2
secondary
#E3F4D7
accent
#DB0A5E
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CB91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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