#945DF4#945DF4

#945DF4 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.4% C 0.216 H 296.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#945DF4
RGBrgb(148, 93, 244)
HSLhsl(262, 87%, 66%)
HSVhsv(262, 62%, 96%)
CMYKcmyk(39.3%, 61.9%, 0%, 4.3%)
CIE-LABlab(52.57, 53.90, -67.96)
CIE-LCHlch(52.57, 86.74, 308.42°)
OKLaboklab(61.43% 0.0954 -0.1936)
OKLCHoklch(61.43% 0.216 296.2)
XYZxyz(32.4520, 20.6556, 87.8476)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DF4 #BDF45D
analogous
#5D71F4 #945DF4 #DF5DF4
triadic
#945DF4 #F4945D #5DF494
tetradic
#945DF4 #F45D71 #BDF45D #5DF4DF
square
#945DF4 #F45D71 #BDF45D #5DF4DF
split-complementary
#945DF4 #F4DF5D #71F45D
monochromatic
#520EC9 #6E24F0 #945DF4 #BA96F8 #E0D0FC

Accessibility & contrast

On white

4.09
#945DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#945DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DF4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DF4#FFFFFF#000000##000000
##945DF41.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#7C7FA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #945df4;
/* rgb */ color: rgb(148, 93, 244);
/* oklch */ color: oklch(61.4% 0.216 296.2);
Tailwind
colors: {
  custom: {
    50: '#b98df9',
    500: '#945df4',
    950: '#000000',
  },
}
SCSS
$custom: #945df4;
$custom-light: #b98df9;
$custom-dark: #000000;
JSON
{
  "hex": "#945df4",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 261.854,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.21586,
    "h": 296.2
  },
  "luminance": 0.20656
}

Semantic roles & 50–950 ramp

primary
#945DF4
secondary
#DDEFBE
accent
#E40291
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #945DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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