#C09FEF#C09FEF

#C09FEF is a light, moderate violet. Relative luminance 0.422; OKLCH L 76.1% C 0.117 H 302.7°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#C09FEF
RGBrgb(192, 159, 239)
HSLhsl(265, 71%, 78%)
HSVhsv(265, 33%, 94%)
CMYKcmyk(19.7%, 33.5%, 0%, 6.3%)
CIE-LABlab(71.03, 27.71, -35.66)
CIE-LCHlch(71.03, 45.16, 307.85°)
OKLaboklab(76.12% 0.0632 -0.0985)
OKLCHoklch(76.12% 0.117 302.7)
XYZxyz(49.7131, 42.2348, 87.1777)
Luminance0.4224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C09FEF #CEEF9F
analogous
#9FA6EF #C09FEF #E89FEF
triadic
#C09FEF #EFC09F #9FEFC0
tetradic
#C09FEF #EF9FA6 #CEEF9F #9FEFE8
square
#C09FEF #EF9FA6 #CEEF9F #9FEFE8
split-complementary
#C09FEF #EFE89F #A6EF9F
monochromatic
#7B36DE #9E6BE6 #C09FEF #E2D3F8 #EEE5FB

Accessibility & contrast

On white

2.22
#C09FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#C09FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C09FEF
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C09FEF#FFFFFF#000000##000000
##C09FEF1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#94AEED
Tritanopia (blue-blind)
#B8ABBC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c09fef;
/* rgb */ color: rgb(192, 159, 239);
/* oklch */ color: oklch(76.1% 0.117 302.7);
Tailwind
colors: {
  custom: {
    50: '#d4bbf4',
    500: '#c09fef',
    950: '#000000',
  },
}
SCSS
$custom: #c09fef;
$custom-light: #d4bbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c09fef",
  "rgb": {
    "r": 192,
    "g": 159,
    "b": 239
  },
  "hsl": {
    "h": 264.75,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7612,
    "c": 0.11704,
    "h": 302.7
  },
  "luminance": 0.42235
}

Semantic roles & 50–950 ramp

primary
#C09FEF
secondary
#E8F2D9
accent
#D31284
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141217
muted
#838185

Preview Lab

Preview with #C09FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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