#CB94F2#CB94F2

#CB94F2 is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.4% C 0.142 H 310.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CB94F2
RGBrgb(203, 148, 242)
HSLhsl(275, 78%, 76%)
HSVhsv(275, 39%, 95%)
CMYKcmyk(16.1%, 38.8%, 0%, 5.1%)
CIE-LABlab(69.67, 37.66, -39.33)
CIE-LCHlch(69.67, 54.45, 313.76°)
OKLaboklab(75.37% 0.092 -0.1088)
OKLCHoklch(75.37% 0.142 310.2)
XYZxyz(51.2426, 40.2878, 89.0641)
Luminance0.4029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94F2 #BBF294
analogous
#9C94F2 #CB94F2 #F294EA
triadic
#CB94F2 #F2CB94 #94F2CB
tetradic
#CB94F2 #F29C94 #BBF294 #94EAF2
square
#CB94F2 #F29C94 #BBF294 #94EAF2
split-complementary
#CB94F2 #EAF294 #94F29C
monochromatic
#9627E5 #B05DEB #CB94F2 #E6CBF9 #F2E4FC

Accessibility & contrast

On white

2.32
#CB94F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#CB94F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94F2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94F2#FFFFFF#000000##000000
##CB94F21.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#C7A2B8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb94f2;
/* rgb */ color: rgb(203, 148, 242);
/* oklch */ color: oklch(75.4% 0.142 310.2);
Tailwind
colors: {
  custom: {
    50: '#dcb4f6',
    500: '#cb94f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb94f2;
$custom-light: #dcb4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94f2",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 242
  },
  "hsl": {
    "h": 275.106,
    "s": 78.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75372,
    "c": 0.14249,
    "h": 310.2
  },
  "luminance": 0.40287
}

Semantic roles & 50–950 ramp

primary
#CB94F2
secondary
#E3F3D8
accent
#DB0B61
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CB94F2

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

Preview Lab → · Contrast checker → · Palette generator →

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