#945ADF#945ADF

#945ADF is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.6% C 0.196 H 300.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#945ADF
RGBrgb(148, 90, 223)
HSLhsl(266, 68%, 61%)
HSVhsv(266, 60%, 87%)
CMYKcmyk(33.6%, 59.6%, 0%, 12.5%)
CIE-LABlab(50.61, 50.20, -59.33)
CIE-LCHlch(50.61, 77.72, 310.24°)
OKLaboklab(59.57% 0.0998 -0.1682)
OKLCHoklch(59.57% 0.196 300.7)
XYZxyz(29.1850, 18.9358, 71.9151)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945ADF #A5DF5A
analogous
#5A63DF #945ADF #D65ADF
triadic
#945ADF #DF945A #5ADF94
tetradic
#945ADF #DF5A63 #A5DF5A #5ADFD6
square
#945ADF #DF5A63 #A5DF5A #5ADFD6
split-complementary
#945ADF #DFD65A #63DF5A
monochromatic
#571FA0 #7329D3 #945ADF #B58DE9 #D6C1F3

Accessibility & contrast

On white

4.39
#945ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#945ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945ADF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945ADF#FFFFFF#000000##000000
##945ADF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0578E3
Deuteranopia (green-blind)
#2F78DC
Tritanopia (blue-blind)
#847694
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945adf;
/* rgb */ color: rgb(148, 90, 223);
/* oklch */ color: oklch(59.6% 0.196 300.7);
Tailwind
colors: {
  custom: {
    50: '#b88bea',
    500: '#945adf',
    950: '#000000',
  },
}
SCSS
$custom: #945adf;
$custom-light: #b88bea;
$custom-dark: #000000;
JSON
{
  "hex": "#945adf",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 223
  },
  "hsl": {
    "h": 266.165,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59569,
    "c": 0.19564,
    "h": 300.7
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#945ADF
secondary
#CEE3B2
accent
#CF167F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945ADF

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

Preview Lab → · Contrast checker → · Palette generator →

#945ADF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva