#954FD8#954FD8

#954FD8 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.203 H 304.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#954FD8
RGBrgb(149, 79, 216)
HSLhsl(271, 64%, 58%)
HSVhsv(271, 63%, 85%)
CMYKcmyk(31%, 63.4%, 0%, 15.3%)
CIE-LABlab(48.18, 54.38, -59.25)
CIE-LCHlch(48.18, 80.42, 312.54°)
OKLaboklab(57.69% 0.1143 -0.168)
OKLCHoklch(57.69% 0.203 304.2)
XYZxyz(27.5823, 16.9395, 66.7690)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FD8 #92D84F
analogous
#504FD8 #954FD8 #D84FD6
triadic
#954FD8 #D8954F #4FD895
tetradic
#954FD8 #D8504F #92D84F #4FD6D8
square
#954FD8 #D8504F #92D84F #4FD6D8
split-complementary
#954FD8 #D6D84F #4FD850
monochromatic
#581F8D #772ABF #954FD8 #B381E3 #D1B3EE

Accessibility & contrast

On white

4.79
#954FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#954FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FD8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FD8#FFFFFF#000000##FFFFFF
##954FD81.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#2872D5
Tritanopia (blue-blind)
#896C8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954fd8;
/* rgb */ color: rgb(149, 79, 216);
/* oklch */ color: oklch(57.7% 0.203 304.2);
Tailwind
colors: {
  custom: {
    50: '#b984e5',
    500: '#954fd8',
    950: '#000000',
  },
}
SCSS
$custom: #954fd8;
$custom-light: #b984e5;
$custom-dark: #000000;
JSON
{
  "hex": "#954fd8",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 270.657,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.20316,
    "h": 304.2
  },
  "luminance": 0.16939
}

Semantic roles & 50–950 ramp

primary
#954FD8
secondary
#C1DDA6
accent
#E74192
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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