#955FF2#955FF2

#955FF2 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.211 H 296.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#955FF2
RGBrgb(149, 95, 242)
HSLhsl(262, 85%, 66%)
HSVhsv(262, 61%, 95%)
CMYKcmyk(38.4%, 60.7%, 0%, 5.1%)
CIE-LABlab(52.93, 52.55, -66.26)
CIE-LCHlch(52.93, 84.57, 308.42°)
OKLaboklab(61.67% 0.0946 -0.1886)
OKLCHoklch(61.67% 0.211 296.6)
XYZxyz(32.5095, 20.9842, 86.3247)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955FF2 #BCF25F
analogous
#5F72F2 #955FF2 #DE5FF2
triadic
#955FF2 #F2955F #5FF295
tetradic
#955FF2 #F25F72 #BCF25F #5FF2DE
square
#955FF2 #F25F72 #BCF25F #5FF2DE
split-complementary
#955FF2 #F2DE5F #72F25F
monochromatic
#5310C6 #7026ED #955FF2 #BA98F7 #E0D0FB

Accessibility & contrast

On white

4.04
#955FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#955FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955FF2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955FF2#FFFFFF#000000##000000
##955FF21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#137CEF
Tritanopia (blue-blind)
#7E7FA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #955ff2;
/* rgb */ color: rgb(149, 95, 242);
/* oklch */ color: oklch(61.7% 0.211 296.6);
Tailwind
colors: {
  custom: {
    50: '#ba8ff7',
    500: '#955ff2',
    950: '#000000',
  },
}
SCSS
$custom: #955ff2;
$custom-light: #ba8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#955ff2",
  "rgb": {
    "r": 149,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 262.041,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.211,
    "h": 296.6
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#955FF2
secondary
#DDEFBE
accent
#E10490
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #955FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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