#954FE8#954FE8

#954FE8 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.221 H 300.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#954FE8
RGBrgb(149, 79, 232)
HSLhsl(267, 77%, 61%)
HSVhsv(267, 66%, 91%)
CMYKcmyk(35.8%, 65.9%, 0%, 9%)
CIE-LABlab(49.26, 58.19, -66.58)
CIE-LCHlch(49.26, 88.43, 311.15°)
OKLaboklab(58.81% 0.1128 -0.1895)
OKLCHoklch(58.81% 0.221 300.8)
XYZxyz(29.7524, 17.8075, 78.1980)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FE8 #A2E84F
analogous
#4F55E8 #954FE8 #E14FE8
triadic
#954FE8 #E8954F #4FE895
tetradic
#954FE8 #E84F55 #A2E84F #4FE8E1
square
#954FE8 #E84F55 #A2E84F #4FE8E1
split-complementary
#954FE8 #E8E14F #55E84F
monochromatic
#5816A7 #751DDD #954FE8 #B685EF #D6BBF6

Accessibility & contrast

On white

4.60
#954FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#954FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #954FE8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FE8#FFFFFF#000000##FFFFFF
##954FE81.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#837295
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #954fe8;
/* rgb */ color: rgb(149, 79, 232);
/* oklch */ color: oklch(58.8% 0.221 300.8);
Tailwind
colors: {
  custom: {
    50: '#ba85f0',
    500: '#954fe8',
    950: '#000000',
  },
}
SCSS
$custom: #954fe8;
$custom-light: #ba85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#954fe8",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 267.451,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58807,
    "c": 0.22055,
    "h": 300.8
  },
  "luminance": 0.17808
}

Semantic roles & 50–950 ramp

primary
#954FE8
secondary
#CCE6AD
accent
#D90C7B
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #954FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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