#956AF2#956AF2

#956AF2 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.3% C 0.196 H 294.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#956AF2
RGBrgb(149, 106, 242)
HSLhsl(259, 84%, 68%)
HSVhsv(259, 56%, 95%)
CMYKcmyk(38.4%, 56.2%, 0%, 5.1%)
CIE-LABlab(55.18, 46.61, -62.63)
CIE-LCHlch(55.18, 78.07, 306.66°)
OKLaboklab(63.32% 0.082 -0.1779)
OKLCHoklch(63.32% 0.196 294.7)
XYZxyz(33.5713, 23.1077, 86.6787)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AF2 #C7F26A
analogous
#6A83F2 #956AF2 #D96AF2
triadic
#956AF2 #F2956A #6AF295
tetradic
#956AF2 #F26A83 #C7F26A #6AF2D9
square
#956AF2 #F26A83 #C7F26A #6AF2D9
split-complementary
#956AF2 #F2D96A #83F26A
monochromatic
#4E12CF #6D32ED #956AF2 #BDA2F7 #E5DBFC

Accessibility & contrast

On white

3.74
#956AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#956AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AF2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AF2#FFFFFF#000000##000000
##956AF21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2185F7
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#7E87A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956af2;
/* rgb */ color: rgb(149, 106, 242);
/* oklch */ color: oklch(63.3% 0.196 294.7);
Tailwind
colors: {
  custom: {
    50: '#b996f7',
    500: '#956af2',
    950: '#000000',
  },
}
SCSS
$custom: #956af2;
$custom-light: #b996f7;
$custom-dark: #000000;
JSON
{
  "hex": "#956af2",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 258.971,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63321,
    "c": 0.19594,
    "h": 294.7
  },
  "luminance": 0.23108
}

Semantic roles & 50–950 ramp

primary
#956AF2
secondary
#E3F1C7
accent
#E0059B
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #956AF2

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

Preview Lab → · Contrast checker → · Palette generator →

#956AF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva