#995CEB#995CEB

#995CEB is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.207 H 299.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#995CEB
RGBrgb(153, 92, 235)
HSLhsl(266, 78%, 64%)
HSVhsv(266, 61%, 92%)
CMYKcmyk(34.9%, 60.9%, 0%, 7.8%)
CIE-LABlab(52.31, 53.22, -63.32)
CIE-LCHlch(52.31, 82.71, 310.05°)
OKLaboklab(61.18% 0.1035 -0.1798)
OKLCHoklch(61.18% 0.208 299.9)
XYZxyz(31.9558, 20.4245, 80.8399)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#995CEB #AEEB5C
analogous
#5C67EB #995CEB #E05CEB
triadic
#995CEB #EB995C #5CEB99
tetradic
#995CEB #EB5C67 #AEEB5C #5CEBE0
square
#995CEB #EB5C67 #AEEB5C #5CEBE0
split-complementary
#995CEB #EBE05C #67EB5C
monochromatic
#5B16B6 #7725E4 #995CEB #BB93F2 #DDC9F8

Accessibility & contrast

On white

4.13
#995CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#995CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #995CEB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##995CEB#FFFFFF#000000##000000
##995CEB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#267CE8
Tritanopia (blue-blind)
#877B9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #995ceb;
/* rgb */ color: rgb(153, 92, 235);
/* oklch */ color: oklch(61.2% 0.207 299.9);
Tailwind
colors: {
  custom: {
    50: '#bc8df2',
    500: '#995ceb',
    950: '#000000',
  },
}
SCSS
$custom: #995ceb;
$custom-light: #bc8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#995ceb",
  "rgb": {
    "r": 153,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 265.594,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61176,
    "c": 0.2075,
    "h": 299.9
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

primary
#995CEB
secondary
#D5EAB8
accent
#DA0B82
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #995CEB

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

Preview Lab → · Contrast checker → · Palette generator →

#995CEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva