#954FE6#954FE6

#954FE6 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.218 H 301.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#954FE6
RGBrgb(149, 79, 230)
HSLhsl(268, 75%, 61%)
HSVhsv(268, 66%, 90%)
CMYKcmyk(35.2%, 65.7%, 0%, 9.8%)
CIE-LABlab(49.12, 57.71, -65.68)
CIE-LCHlch(49.12, 87.43, 311.30°)
OKLaboklab(58.66% 0.113 -0.1869)
OKLCHoklch(58.66% 0.218 301.2)
XYZxyz(29.4699, 17.6945, 76.7104)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FE6 #A0E64F
analogous
#4F54E6 #954FE6 #E14FE6
triadic
#954FE6 #E6954F #4FE695
tetradic
#954FE6 #E64F54 #A0E64F #4FE6E1
square
#954FE6 #E64F54 #A0E64F #4FE6E1
split-complementary
#954FE6 #E6E14F #54E64F
monochromatic
#5817A3 #751FD9 #954FE6 #B585EE #D6BAF5

Accessibility & contrast

On white

4.63
#954FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#954FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #954FE6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FE6#FFFFFF#000000##FFFFFF
##954FE61.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#847194
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #954fe6;
/* rgb */ color: rgb(149, 79, 230);
/* oklch */ color: oklch(58.7% 0.218 301.2);
Tailwind
colors: {
  custom: {
    50: '#ba85ef',
    500: '#954fe6',
    950: '#000000',
  },
}
SCSS
$custom: #954fe6;
$custom-light: #ba85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#954fe6",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 267.815,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.21838,
    "h": 301.2
  },
  "luminance": 0.17695
}

Semantic roles & 50–950 ramp

primary
#954FE6
secondary
#CAE5AC
accent
#D70E7A
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #954FE6

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

Preview Lab → · Contrast checker → · Palette generator →

#954FE6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva