#7235CB#7235CB

#7235CB is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.215 H 296.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7235CB
RGBrgb(114, 53, 203)
HSLhsl(264, 59%, 50%)
HSVhsv(264, 74%, 80%)
CMYKcmyk(43.8%, 73.9%, 0%, 20.4%)
CIE-LABlab(38.61, 56.90, -67.50)
CIE-LCHlch(38.61, 88.29, 310.13°)
OKLaboklab(49.63% 0.0946 -0.1933)
OKLCHoklch(49.63% 0.215 296.1)
XYZxyz(18.9892, 10.4350, 57.5020)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235CB #8ECB35
analogous
#3543CB #7235CB #BD35CB
triadic
#7235CB #CB7235 #35CB72
tetradic
#7235CB #CB3543 #8ECB35 #35CBBD
square
#7235CB #CB3543 #8ECB35 #35CBBD
split-complementary
#7235CB #CBBD35 #43CB35
monochromatic
#3B1B6A #57289B #7235CB #9466D8 #B696E4

Accessibility & contrast

On white

6.80
#7235CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7235CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7235CB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235CB#FFFFFF#000000##FFFFFF
##7235CB1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#5A5C7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7235cb;
/* rgb */ color: rgb(114, 53, 203);
/* oklch */ color: oklch(49.6% 0.215 296.1);
Tailwind
colors: {
  custom: {
    50: '#a272dc',
    500: '#7235cb',
    950: '#000000',
  },
}
SCSS
$custom: #7235cb;
$custom-light: #a272dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7235cb",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 264.4,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.21517,
    "h": 296.1
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#7235CB
secondary
#B4CF8C
accent
#E246A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7235CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7235CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva