#935ECB#935ECB

#935ECB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.166 H 304.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#935ECB
RGBrgb(147, 94, 203)
HSLhsl(269, 51%, 58%)
HSVhsv(269, 54%, 80%)
CMYKcmyk(27.6%, 53.7%, 0%, 20.4%)
CIE-LABlab(50.12, 42.92, -48.73)
CIE-LCHlch(50.12, 64.93, 311.37°)
OKLaboklab(58.8% 0.0933 -0.1372)
OKLCHoklch(58.8% 0.166 304.2)
XYZxyz(26.8125, 18.5203, 58.6506)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935ECB #96CB5E
analogous
#5E5FCB #935ECB #C95ECB
triadic
#935ECB #CB935E #5ECB93
tetradic
#935ECB #CB5E5F #96CB5E #5ECBC9
square
#935ECB #CB5E5F #96CB5E #5ECBC9
split-complementary
#935ECB #CBC95E #5FCB5E
monochromatic
#562B84 #743AB2 #935ECB #B28CDA #D1BBE9

Accessibility & contrast

On white

4.46
#935ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#935ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935ECB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935ECB#FFFFFF#000000##000000
##935ECB1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#89728C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #935ecb;
/* rgb */ color: rgb(147, 94, 203);
/* oklch */ color: oklch(58.8% 0.166 304.2);
Tailwind
colors: {
  custom: {
    50: '#b68ddb',
    500: '#935ecb',
    950: '#000000',
  },
}
SCSS
$custom: #935ecb;
$custom-light: #b68ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#935ecb",
  "rgb": {
    "r": 147,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 269.174,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.16594,
    "h": 304.2
  },
  "luminance": 0.1852
}

Semantic roles & 50–950 ramp

primary
#935ECB
secondary
#C3D8AD
accent
#DB4D96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #935ECB

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

Preview Lab → · Contrast checker → · Palette generator →

#935ECB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva