#955AEC#955AEC

#955AEC is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.211 H 298.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#955AEC
RGBrgb(149, 90, 236)
HSLhsl(264, 79%, 64%)
HSVhsv(264, 62%, 93%)
CMYKcmyk(36.9%, 61.9%, 0%, 7.5%)
CIE-LABlab(51.56, 53.65, -65.11)
CIE-LCHlch(51.56, 84.37, 309.49°)
OKLaboklab(60.55% 0.1005 -0.1852)
OKLCHoklch(60.55% 0.211 298.5)
XYZxyz(31.1871, 19.7576, 81.5111)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955AEC #B1EC5A
analogous
#5A68EC #955AEC #DE5AEC
triadic
#955AEC #EC955A #5AEC95
tetradic
#955AEC #EC5A68 #B1EC5A #5AECDE
square
#955AEC #EC5A68 #B1EC5A #5AECDE
split-complementary
#955AEC #ECDE5A #68EC5A
monochromatic
#5615B7 #7223E6 #955AEC #B891F2 #DCC8F9

Accessibility & contrast

On white

4.24
#955AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#955AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955AEC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955AEC#FFFFFF#000000##000000
##955AEC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#1479E9
Tritanopia (blue-blind)
#817A9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #955aec;
/* rgb */ color: rgb(149, 90, 236);
/* oklch */ color: oklch(60.6% 0.211 298.5);
Tailwind
colors: {
  custom: {
    50: '#b98bf3',
    500: '#955aec',
    950: '#000000',
  },
}
SCSS
$custom: #955aec;
$custom-light: #b98bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#955aec",
  "rgb": {
    "r": 149,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 264.247,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.21075,
    "h": 298.5
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#955AEC
secondary
#D6EBB7
accent
#DC0A87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #955AEC

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

Preview Lab → · Contrast checker → · Palette generator →

#955AEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva