#C09FEB#C09FEB

#C09FEB is a light, moderate violet. Relative luminance 0.420; OKLCH L 75.9% C 0.112 H 303.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#C09FEB
RGBrgb(192, 159, 235)
HSLhsl(266, 66%, 77%)
HSVhsv(266, 32%, 92%)
CMYKcmyk(18.3%, 32.3%, 0%, 7.8%)
CIE-LABlab(70.87, 26.82, -33.72)
CIE-LCHlch(70.87, 43.09, 308.50°)
OKLaboklab(75.94% 0.0622 -0.093)
OKLCHoklch(75.94% 0.112 303.8)
XYZxyz(49.1287, 42.0010, 84.1000)
Luminance0.4200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C09FEB #CAEB9F
analogous
#9FA4EB #C09FEB #E69FEB
triadic
#C09FEB #EBC09F #9FEBC0
tetradic
#C09FEB #EB9FA4 #CAEB9F #9FEBE6
square
#C09FEB #EB9FA4 #CAEB9F #9FEBE6
split-complementary
#C09FEB #EBE69F #A4EB9F
monochromatic
#7E3AD6 #9F6CE0 #C09FEB #E1D2F6 #EEE6FA

Accessibility & contrast

On white

2.23
#C09FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#C09FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C09FEB
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C09FEB#FFFFFF#000000##000000
##C09FEB1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADEE
Deuteranopia (green-blind)
#95ADE9
Tritanopia (blue-blind)
#B9AABB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c09feb;
/* rgb */ color: rgb(192, 159, 235);
/* oklch */ color: oklch(75.9% 0.112 303.8);
Tailwind
colors: {
  custom: {
    50: '#d4bbf1',
    500: '#c09feb',
    950: '#000000',
  },
}
SCSS
$custom: #c09feb;
$custom-light: #d4bbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c09feb",
  "rgb": {
    "r": 192,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 266.053,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75944,
    "c": 0.11188,
    "h": 303.8
  },
  "luminance": 0.42001
}

Semantic roles & 50–950 ramp

primary
#C09FEB
secondary
#E7F1DA
accent
#CD187F
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141217
muted
#838185

Preview Lab

Preview with #C09FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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