#995DD4#995DD4

#995DD4 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.180 H 304.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#995DD4
RGBrgb(153, 93, 212)
HSLhsl(270, 58%, 60%)
HSVhsv(270, 56%, 83%)
CMYKcmyk(27.8%, 56.1%, 0%, 16.9%)
CIE-LABlab(51.10, 47.12, -52.27)
CIE-LCHlch(51.10, 70.37, 312.04°)
OKLaboklab(59.84% 0.1026 -0.1474)
OKLCHoklch(59.84% 0.18 304.8)
XYZxyz(28.9323, 19.3546, 64.4862)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#995DD4 #98D45D
analogous
#5D5DD4 #995DD4 #D45DD4
triadic
#995DD4 #D4995D #5DD499
tetradic
#995DD4 #D45D5D #98D45D #5DD4D4
square
#995DD4 #D45D5D #98D45D #5DD4D4
split-complementary
#995DD4 #D4D45D #5DD45D
monochromatic
#5C2690 #7A33C1 #995DD4 #B78DE1 #D6BEEE

Accessibility & contrast

On white

4.31
#995DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#995DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #995DD4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##995DD4#FFFFFF#000000##000000
##995DD41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F78D8
Deuteranopia (green-blind)
#467AD1
Tritanopia (blue-blind)
#8F7490
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #995dd4;
/* rgb */ color: rgb(153, 93, 212);
/* oklch */ color: oklch(59.8% 0.180 304.8);
Tailwind
colors: {
  custom: {
    50: '#ba8de2',
    500: '#995dd4',
    950: '#000000',
  },
}
SCSS
$custom: #995dd4;
$custom-light: #ba8de2;
$custom-dark: #000000;
JSON
{
  "hex": "#995dd4",
  "rgb": {
    "r": 153,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 270.252,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.17959,
    "h": 304.8
  },
  "luminance": 0.19354
}

Semantic roles & 50–950 ramp

primary
#995DD4
secondary
#C6DDAF
accent
#E14793
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #995DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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