#955FE4#955FE4

#955FE4 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.195 H 299.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#955FE4
RGBrgb(149, 95, 228)
HSLhsl(264, 71%, 63%)
HSVhsv(264, 58%, 89%)
CMYKcmyk(34.6%, 58.3%, 0%, 10.6%)
CIE-LABlab(52.03, 49.01, -59.85)
CIE-LCHlch(52.03, 77.36, 309.31°)
OKLaboklab(60.73% 0.0951 -0.1698)
OKLCHoklch(60.73% 0.195 299.3)
XYZxyz(30.4868, 20.1751, 75.6717)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955FE4 #AEE45F
analogous
#5F6BE4 #955FE4 #D75FE4
triadic
#955FE4 #E4955F #5FE495
tetradic
#955FE4 #E45F6B #AEE45F #5FE4D7
square
#955FE4 #E45F6B #AEE45F #5FE4D7
split-complementary
#955FE4 #E4D75F #6BE45F
monochromatic
#571DAC #722BDB #955FE4 #B893ED #DAC8F6

Accessibility & contrast

On white

4.17
#955FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#955FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955FE4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955FE4#FFFFFF#000000##000000
##955FE41.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#157CE8
Deuteranopia (green-blind)
#327BE1
Tritanopia (blue-blind)
#847B99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #955fe4;
/* rgb */ color: rgb(149, 95, 228);
/* oklch */ color: oklch(60.7% 0.195 299.3);
Tailwind
colors: {
  custom: {
    50: '#b98eed',
    500: '#955fe4',
    950: '#000000',
  },
}
SCSS
$custom: #955fe4;
$custom-light: #b98eed;
$custom-dark: #000000;
JSON
{
  "hex": "#955fe4",
  "rgb": {
    "r": 149,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 264.361,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60733,
    "c": 0.1946,
    "h": 299.3
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#955FE4
secondary
#D4E7B8
accent
#D31285
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #955FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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