#947CE4#947CE4

#947CE4 is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.4% C 0.152 H 292.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#947CE4
RGBrgb(148, 124, 228)
HSLhsl(254, 66%, 69%)
HSVhsv(254, 46%, 89%)
CMYKcmyk(35.1%, 45.6%, 0%, 10.6%)
CIE-LABlab(58.33, 32.51, -49.80)
CIE-LCHlch(58.33, 59.47, 303.14°)
OKLaboklab(65.39% 0.0576 -0.1403)
OKLCHoklch(65.39% 0.152 292.3)
XYZxyz(33.4203, 26.3119, 76.7016)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947CE4 #CCE47C
analogous
#7C98E4 #947CE4 #C87CE4
triadic
#947CE4 #E4947C #7CE494
tetradic
#947CE4 #E47C98 #CCE47C #7CE4C8
square
#947CE4 #E47C98 #CCE47C #7CE4C8
split-complementary
#947CE4 #E4C87C #98E47C
monochromatic
#4A27BE #6B49DA #947CE4 #BDAFEE #E7E1F9

Accessibility & contrast

On white

3.35
#947CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#947CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947CE4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947CE4#FFFFFF#000000##000000
##947CE41.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588EE8
Deuteranopia (green-blind)
#5B8AE2
Tritanopia (blue-blind)
#8090A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #947ce4;
/* rgb */ color: rgb(148, 124, 228);
/* oklch */ color: oklch(65.4% 0.152 292.3);
Tailwind
colors: {
  custom: {
    50: '#b7a2ed',
    500: '#947ce4',
    950: '#000000',
  },
}
SCSS
$custom: #947ce4;
$custom-light: #b7a2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#947ce4",
  "rgb": {
    "r": 148,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 253.846,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65387,
    "c": 0.15168,
    "h": 292.3
  },
  "luminance": 0.26313
}

Semantic roles & 50–950 ramp

primary
#947CE4
secondary
#E6EDCF
accent
#CE18A4
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #947CE4

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

Preview Lab → · Contrast checker → · Palette generator →

#947CE4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva