#945FD2#945FD2

#945FD2 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.173 H 302.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#945FD2
RGBrgb(148, 95, 210)
HSLhsl(268, 56%, 60%)
HSVhsv(268, 55%, 82%)
CMYKcmyk(29.5%, 54.8%, 0%, 17.6%)
CIE-LABlab(50.84, 44.32, -51.57)
CIE-LCHlch(50.84, 68.00, 310.68°)
OKLaboklab(59.49% 0.0936 -0.1455)
OKLCHoklch(59.49% 0.173 302.8)
XYZxyz(27.9352, 19.1335, 63.1817)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FD2 #9DD25F
analogous
#5F64D2 #945FD2 #CE5FD2
triadic
#945FD2 #D2945F #5FD294
tetradic
#945FD2 #D25F64 #9DD25F #5FD2CE
square
#945FD2 #D25F64 #9DD25F #5FD2CE
split-complementary
#945FD2 #D2CE5F #64D25F
monochromatic
#57288F #7536BE #945FD2 #B48FDF #D4BFED

Accessibility & contrast

On white

4.35
#945FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#945FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FD2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FD2#FFFFFF#000000##000000
##945FD21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3378D6
Deuteranopia (green-blind)
#4579CF
Tritanopia (blue-blind)
#88758F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945fd2;
/* rgb */ color: rgb(148, 95, 210);
/* oklch */ color: oklch(59.5% 0.173 302.8);
Tailwind
colors: {
  custom: {
    50: '#b78ee0',
    500: '#945fd2',
    950: '#000000',
  },
}
SCSS
$custom: #945fd2;
$custom-light: #b78ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#945fd2",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 267.652,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.17303,
    "h": 302.8
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#945FD2
secondary
#C8DDB0
accent
#DF489A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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